package com.mall.mapper;

import com.mall.entity.MmallOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ppmall
 * @since 2021-09-19
 */
public interface MmallOrderMapper extends BaseMapper<MmallOrder> {
    public BigDecimal getTotalPaymentByCategoryId(@Param("category_id") Integer categoryId, @Param("begin_time") Date beginTime, @Param("end_time") Date endTime);
}
